#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QtGui>
#include <QtCore>
#include <fstream>
#include <QDebug>
#include <QtSql>
#include "skrypty.h"
#include "moddata.h"
#include "importdialog.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent =0);
    ~MainWindow();
    QStringList openfile;
    QDir currentDir;
    Ui::MainWindow *ui;


private slots:

    void openfiles_v();
    void on_pushButton_4_clicked();
    void on_pushButton_2_clicked();
    void editItem(int row, int column);

private:
    CModData *Baza;
    int dialli;
    void writeToForm (int id);

};



#endif // MAINWINDOW_H
